import $http from '../http/index.js'

export const update_feedback = (data) => {
	return $http({
		 url: 'update_feedback',
		 data
	})
} 

export const get_my_article = (data) => {
	return $http({
		 url: 'get_my_article',
		 data
	})
} 

export const get_user = (data) => {
	return $http({
		 url: 'get_user',
		 data
	})
}

export const get_author = (data) => {
	return $http({
		 url: 'get_author',
		 data
	})
}

export const get_follow = (data) => {
	 return $http({
		 url: 'get_follow',
		 data
	 })
 }


export const update_thumbsup = (data) => {
	 return $http({
		 url: 'update_thumbsup',
		 data
	 })
 }

export const update_author = (data) => {
	 return $http({
		 url: 'update_author',
		 data
	 })
 }

export const get_comments = (data) => {
	 return $http({
		 url: 'get_comments',
		 data
	 })
 }

export const update_comment = (data) => {
	 return $http({
		 url: 'update_comment',
		 data
	 })
 }

export const get_detail = (data) => {
	 return $http({
		 url: 'get_detail',
		 data
	 })
 }


export const update_label = (data) => {
	 return $http({
		 url: 'update_label',
		 data
	 })
 }

export const get_label = (data) => {
	 return $http({
		 url: 'get_label',
		 data
	 })
 }

export const get_list = (data) => {
	 return $http({
		 url: 'get_list',
		 data
	 })
 }
 
 
 export const update_likes = (data) => {
 	 return $http({
 		 url: 'update_likes',
 		 data
 	 })
  }
  
  export const get_search = (data) => {
  	 return $http({
  		 url: 'get_search',
  		 data
  	 })
   }
  